package com.ryqg.jiaofu.common;

public enum OperationType implements LabelValue {

    ADD("新增", 1),
    UPDATE("修改", 2),
    DELETE("删除", 3),
    PDF_DOWNLOAD("PDF下载", 4),
    PDF_UPLOAD("PDF上传", 5);

    private final String label;
    private final int value;

    OperationType(String label, Integer value) {
        this.label = label;
        this.value = value;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public Integer getValue() {
        return value;
    }

}

